{% extends "base.html" %}

{% block content %}
    <h2>发布新帖子</h2>
    <form method="POST">
        <div class="form-group">
            <label for="title">标题</label>
            <input type="text" id="title" name="title" required>
        </div>
        <div class="form-group">
            <label for="content">内容</label>
            <textarea id="content" name="content" rows="10" required></textarea>
        </div>
        <button type="submit">发布</button>
    </form>
{% endblock %}
